-
Notifications
You must be signed in to change notification settings - Fork 47k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ci] Add yarn_test_build job to gh actions #30072
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
ghstack-source-id: 9cd55d391a57a0254dc07c0982047005a89a2390 Pull Request resolved: #30072
Comparing: e6783e7...cd878f1 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
ghstack-source-id: 2329f4cb6c03b89e4621fb5141c79695301b6b8e Pull Request resolved: #30072
ghstack-source-id: 6df35817371d0d3acf173227d0ac9e377543aa34 Pull Request resolved: #30072
ghstack-source-id: 642200ae95d8bc9009d08f495f1391950054be8c Pull Request resolved: #30072
ghstack-source-id: c1bf83b54925954be64274bac3595acbb68f0d23 Pull Request resolved: #30072
ghstack-source-id: 8fba65fbc40ca07fc629d39adfb487d37e0b4244 Pull Request resolved: #30072
ghstack-source-id: a8c594d753f454dd0695a1f8028e0a635fb1bc01 Pull Request resolved: #30072
ghstack-source-id: a69f045720f4fe61ead4069ffdfb700288d630c9 Pull Request resolved: #30072
ghstack-source-id: 2588f3588f399f332225b353e67efa3816587401 Pull Request resolved: facebook#30072
ghstack-source-id: 2588f3588f399f332225b353e67efa3816587401 Pull Request resolved: #30072
ghstack-source-id: 8431d588e7c2846d146c513599e668a7aac800bd Pull Request resolved: #30072
ghstack-source-id: 8431d588e7c2846d146c513599e668a7aac800bd Pull Request resolved: #30072
ghstack-source-id: 8431d588e7c2846d146c513599e668a7aac800bd Pull Request resolved: #30072
ghstack-source-id: 8431d588e7c2846d146c513599e668a7aac800bd Pull Request resolved: #30072
test_params: [ | ||
# Intentionally passing these as strings instead of creating a | ||
# separate parameter per CLI argument, since it's easier to | ||
# control/see which combinations we want to run. | ||
-r=stable --env=development, | ||
-r=stable --env=production, | ||
-r=experimental --env=development, | ||
-r=experimental --env=production, | ||
|
||
# Dev Tools | ||
--project=devtools -r=experimental, | ||
|
||
# TODO: Update test config to support www build tests | ||
# - "-r=www-classic --env=development --variant=false" | ||
# - "-r=www-classic --env=production --variant=false" | ||
# - "-r=www-classic --env=development --variant=true" | ||
# - "-r=www-classic --env=production --variant=true" | ||
# - "-r=www-modern --env=development --variant=false" | ||
# - "-r=www-modern --env=production --variant=false" | ||
# - "-r=www-modern --env=development --variant=true" | ||
# - "-r=www-modern --env=production --variant=true" | ||
|
||
# TODO: Update test config to support xplat build tests | ||
# - "-r=xplat --env=development --variant=false" | ||
# - "-r=xplat --env=development --variant=true" | ||
# - "-r=xplat --env=production --variant=false" | ||
# - "-r=xplat --env=production --variant=true" | ||
|
||
# TODO: Test more persistent configurations? | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copied from circleci config
merge-multiple: true | ||
- name: Display structure of build | ||
run: ls -R build | ||
- run: yarn test --build ${{ matrix.test_params }} --ci=github |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this parallelize by default? If not, should we?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is parallelized, it uses the matrix defined above and creates a CI worker for each value in the matrix
ghstack-source-id: 5cff9778611acb747c05b9d353bd1af3b11e7d7a Pull Request resolved: #30072
ghstack-source-id: 5cff9778611acb747c05b9d353bd1af3b11e7d7a Pull Request resolved: facebook#30072
Stack from ghstack (oldest at bottom):